<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="bread">
      <div class="item">
        <span>订单</span>
      </div>
      <div class="item">商品</div>
    </div>
  </body>
</html>
<style>
  body {
    /* background-color: rgb(38, 61, 85); */
  }
  .bread {
    margin-top: 200px;
    width: 400px;
    height: 30px;
    /* border: 1px solid red; */
    background-color: rgb(43, 132, 210);
    display: flex;
    justify-content: left;
    line-height: 30px;
    align-content: center;
    overflow: hidden;
  }
  .item {
    /* height: 30px; */
    padding-left: 10px;
    padding-right: 10px;
    /* background-color: rgb(43, 132, 210); */
    position: relative;
    margin-left: 18px;
  }
  .item:after {
    content: "";
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    top: 0px;
    z-index: 100;
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(43, 132, 210); /*透明 透明 透明 灰*/
  }
  .item:before {
    content: "";
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    top: -3px;
    /* z-index: 10; */
    right: -18px;
    border-width: 18px 0 18px 18px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(38, 61, 85);
  }
</style>
